import { sha256 } from 'js-sha256'

// 异步SHA256加密函数
export const sha256Hash = async (data : string) : Promise<string> => {
	return Promise.resolve(sha256(data))
}